﻿using System.Reflection;

namespace SceneManager
{
	internal static class ReflectionExtensions
	{
		public static object[] GetCustomAttributes<T>(this MemberInfo @this, bool inherit)
		{
			return @this.GetCustomAttributes(typeof(T), inherit);
		}
	}
}